<html>
	<head>
		<title>总览</title>
		<meta charset='utf-8' />
		<script type='text/javascript' src='../../../../public/js/ChangePage.js'></script>
		<style>
			<!--表格-->
			.border_distance{
				border-collapse:collapse;
				border-right:1px solid red;
				border-top:1px solid red;
			}
			.border tr td{
				border-left:1px solid green;
				border-bottom:1px solid green;
			}
			<!-- 分页 -->
			.page{
				text-align:center;
				margin-top:50px;
			}
			.page a,span,tr,td{
				text-decoration:none;
				border:1px solid #f9d52b;
				padding:2px 7px;
				color:#767675
				cursor:pointer<!--鼠标滑过时鼠标变成手指形状-->
			}
			.page a:hover,.page span:hover{
				color:red;
			}
		</style>
	</head>
	
	<body>
		<center>
			<caption>总览</caption>
			<table class='page'>
				<tr>				
					<td>ID</td>
					<td>姓名</td>
					<td>性别</td>
					<td>生日</td>
					<td>邮箱</td>
					<td>电话</td>
					<td>学校</td>
					<td>专业</td>
					<td>爱好</td>
					<td>附件</td>
					<td>&nbsp;详情</td>
					<td>&nbsp;修改</td>
				</tr>
				{%foreach $tb as $value%}
				<tr>
					<td>{%$value['id']%}</td>
					<td>{%$value['name']%}</td>
					<td>{%$value['gender']%}</td>
					<td>{%$value['birthday']%}</td>
					<td>{%$value['email']%}</td>
					<td>{%$value['tell']%}</td>
					<td>{%$value['school']%}</td>
					<td>{%$value['major']%}</td>
					<td>{%$value['hobby']%}</td>
					<td>{%$value['has_annex']%}</td>
					<td>
						<a href="/detail/display?id={%$value['id']%}">详情</a>
					</td>
					<td>
						<a href="/modify/display?id={%$value['id']%}">修改</a>
					</td>
				</tr>
				{%/foreach%}
			</table>
			
			<div class='page'>
				<input type='button' value='上一页' id='PrePage' onclick="PrePage()"/>
				{%section name=loop loop={%$numbers%}%}
				<a href='/overview/display?page={%$smarty.section.loop.index+1%}'>{%$smarty.section.loop.index+1%}</a>
				{%/section%}
				<input type='button' value='下一页' id='NextPage' onclick="NextPage()"/>
			</div>
			
			<a href='/option/display'>返回</a>
			<a href='/logout/display'>退出</a>
			
		</center>
	</body>
</html>

















